package com.wtwd.campus.utils.Vizhi;

import com.wtwd.campus.utils.Vizhi.entity.Cellular;
import com.wtwd.campus.utils.Vizhi.entity.Wifi;
import com.wtwd.campus.utils.Vizhi.entity.vo.VizhiGeocodingVo;
import com.wtwd.campus.utils.Vizhi.entity.vo.VizhiVo;

import java.util.List;

/**
 * 此接口 用维智物联 代码该接口
 */
public interface VizhiService {

    String VIZHI_DATA_SOURCE_TYPE="4";

    String URL = "https://api.newayz.com/location/hub/v1/track_points?access_key={YOUR_ACCESS_KEY}&response_sprf=gcj02";

    String CODE_URL="https://api.newayz.com/location/hub/v1/track_points?access_key={YOUR_ACCESS_KEY}";

    String ACCESS_KEY = "u8I6iES6XhzbPKKaKxdOgchDeQqRCAwx";

    /**
     * 返回坐标系格式默认 gcj02
     */
    String response_sprf = "";

    /**
     * 智能能硬件定位
     *
     * @param imei
     * @param wifis
     * @return
     */
    VizhiVo intelligentHardwareLocation(String imei, List<Wifi> wifis,List<Cellular> cellulars);

    VizhiVo intelligentHardwareLocation(String imei, String wifiInfo,String lbs);

    /**
     * 维智 逆地理编码
     * @param getLng 进度
     * @param getLat 维度
     * @return
     */
    VizhiGeocodingVo InverseGeocoding(String getLng, String getLat);


}
